package com.lingyun.model.sso;



/**
 * Created by bjs on 15/1/5.
 */
public class UserHolder<T> {

    public static final String REQUEST_KEY = "userHolder";
    public static final String COOKIE_KEY = "_x3f4_";
    public static final String COOKIE_VALUE = "_f3_g9_";

    private T  user;

    private String url;

    public String getUrl() {

        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public T getUser() {
        return user;
    }

    public void setUser(T user) {
        this.user = user;
    }

    public boolean isLogin() {
        return user != null;
    }


}
